gtk4.git
10 years agoFix Kikongo translation of default:mm
Piotr Drąg [Sat, 26 Sep 2015 15:55:37 +0000 (17:55 +0200)]
Fix Kikongo translation of default:mm

10 years agoFix Kikongo translation of default:LTR
Piotr Drąg [Sat, 26 Sep 2015 15:54:36 +0000 (17:54 +0200)]
Fix Kikongo translation of default:LTR

10 years agoFix Bosnian translation of default:mm
Piotr Drąg [Sat, 26 Sep 2015 15:51:07 +0000 (17:51 +0200)]
Fix Bosnian translation of default:mm

10 years agogtkbookmarksmanager: don't allow non valid utf8 in bookmarks
Carlos Soriano [Fri, 25 Sep 2015 11:57:24 +0000 (13:57 +0200)]
gtkbookmarksmanager: don't allow non valid utf8 in bookmarks

In case some client send to us a non valid utf8 string, don't screw up
the bookmarks file and just return.

https://bugzilla.gnome.org/show_bug.cgi?id=755215

10 years agogtkplacessidebar: avoid to use a freed string
Carlos Soriano [Thu, 24 Sep 2015 13:54:15 +0000 (15:54 +0200)]
gtkplacessidebar: avoid to use a freed string

The string we were using is the representation of the internal text
in the popover entry. However that can be freed before setting the
bookmark label, if i.e. the row is destroyed and therefore the popover
as well.
To avoid that, duplicate the label in a local variable.

One of the consequences is that for those people using development version
we migth screwed its bookmarks file, since the bookmark manager wrote
garbage from the already freed label.

https://bugzilla.gnome.org/show_bug.cgi?id=755215

10 years agobuild/Makefile-newvs.am: Update Comments for Usage
Chun-wei Fan [Fri, 25 Sep 2015 04:54:26 +0000 (12:54 +0800)]
build/Makefile-newvs.am: Update Comments for Usage

Update the notes that this is also used for Visual Studio 2015 support,
and correct the MSVC_VER_LONG for MSVC 2015, which is 14, not 2015.

Also add a note that this can be used for other projects that have
Visual Studio build support.

10 years agoBuild: Make Makefile.msvcproj A Bit More Generic
Chun-wei Fan [Fri, 25 Sep 2015 04:25:13 +0000 (12:25 +0800)]
Build: Make Makefile.msvcproj A Bit More Generic

Handle also the situation where $(srcdir) == $(top_srcdir), so that this
can also be used in cases like librsvg and gobject-introspection.

10 years agotextview: Look up the drop location iter on the right coordinates on DND
Carlos Garnacho [Thu, 24 Sep 2015 18:25:26 +0000 (20:25 +0200)]
textview: Look up the drop location iter on the right coordinates on DND

We are passing widget coordinates to gtk_text_view_window_to_buffer_coords()
which expects coordinates to be relative to the text window in this case.
This may result in drop coordinates being displaced if the side windows to
the top/left sides are visible and taking space, so the DnD indicator will
point to the wrong position.

This can be seen on gnome-builder and gedit when displaying line numbers.

10 years agoUpdated German translation
Christian Kirbach [Thu, 24 Sep 2015 17:01:47 +0000 (17:01 +0000)]
Updated German translation

10 years agoDon't mix in user options of printer instances
Michael Weghorn [Thu, 13 Aug 2015 20:36:05 +0000 (22:36 +0200)]
Don't mix in user options of printer instances

GTK+ currently does not support printer instances in the printing
dialog. This commit avoids user options set for specific instances of
a printer being accidently applied to the printer with the same name but
no specific instance defined.

https://bugzilla.gnome.org/show_bug.cgi?id=753628
https://bugzilla.gnome.org/show_bug.cgi?id=582747

10 years agobuild: Dist toarray.pl
Emmanuele Bassi [Thu, 24 Sep 2015 07:27:45 +0000 (08:27 +0100)]
build: Dist toarray.pl

Some distributions (MSYS2, Debian) call autoreconf on a tarball because
they change the autotools artifacts.

In order to rebuild the Broadway generated files, we need to ship the
scripts that we use when disting a release.

10 years agoHC: use round buttons on sidebars
Jakub Steiner [Tue, 22 Sep 2015 22:55:17 +0000 (00:55 +0200)]
HC: use round buttons on sidebars

Copy Adwaita in how sidebar icon buttons look

https://bugzilla.gnome.org/show_bug.cgi?id=755268

10 years agogtkplacessidebar: avoid accessing destroyed popover
Carlos Soriano [Wed, 23 Sep 2015 14:13:48 +0000 (16:13 +0200)]
gtkplacessidebar: avoid accessing destroyed popover

The row and rename popovers are always relative_to a row.
We also keep a pointer to them so we can interact with them in
callbacks.

However, if the row is destroyed its associated popovers will be
destroyed as well as relative_to destroyes and frees memory of its
associated widget when its relative_to widget is destroyed.
If we, for example, update the places while the popover is shown we are
going to access and invalid widget on the next time.

To avoid that, connect to the destroy signal of the popovers and clean
the sidebar pointers when that happens.

https://bugzilla.gnome.org/show_bug.cgi?id=755444

10 years agoGtkWindow: Check for popover realized-ness before unrealizing
Timm Bäder [Wed, 23 Sep 2015 16:29:50 +0000 (18:29 +0200)]
GtkWindow: Check for popover realized-ness before unrealizing

https://bugzilla.gnome.org/show_bug.cgi?id=755473

10 years agogtkmain: Add nullable annotations
Timm Bäder [Tue, 15 Sep 2015 07:19:31 +0000 (09:19 +0200)]
gtkmain: Add nullable annotations

https://bugzilla.gnome.org/show_bug.cgi?id=755038

10 years agoUpdate Arabic translation
Khaled Hosny [Wed, 23 Sep 2015 21:44:37 +0000 (23:44 +0200)]
Update Arabic translation

10 years agoapplication: Be save against impl being NULL
Matthias Clasen [Wed, 23 Sep 2015 18:35:58 +0000 (14:35 -0400)]
application: Be save against impl being NULL

We clear the impl in shutdown, so all callbacks that may
happen at a later time need to be prepared for this.

https://bugzilla.gnome.org/show_bug.cgi?id=755432

10 years agoFix make dist
Chun-wei Fan [Wed, 23 Sep 2015 15:31:23 +0000 (23:31 +0800)]
Fix make dist

Commit ea241c6 dropped the wrong private header from dist, so correct
this to fix 'make dist'

10 years agoFix Visual Studio Build Since a080cb4
Chun-wei Fan [Wed, 23 Sep 2015 15:24:36 +0000 (23:24 +0800)]
Fix Visual Studio Build Since a080cb4

The patch did not check for Visual Studio 2008 correctly, plus it
would break the build on later Visual Studio versions, as it should
be __popcnt(), not __popcount().  Fix that.

10 years agoImprove compiler detection for __builtin_popcount()
Emmanuele Bassi [Wed, 23 Sep 2015 10:01:46 +0000 (11:01 +0100)]
Improve compiler detection for __builtin_popcount()

The popcount builtin was added in GCC after version 4.2 (which is what
some *BSDs are using), which means we need to be more specific when
using it than just asking for GCC.

While we're at it, we can improve the compiler detection, and use a
builtin popcount on Clang ≥ 3.1 and MSVC 2008.

https://bugzilla.gnome.org/show_bug.cgi?id=755455

10 years agoUse stupid quotes instead of dumb quotes
Matthias Clasen [Sun, 20 Sep 2015 06:32:48 +0000 (02:32 -0400)]
Use stupid quotes instead of dumb quotes

Following a similar change in GLib a while ago.

'bla' may by stupid, but it looks less dumb than `bla'.

10 years agocontainer: Use qdata for focus chain
Matthias Clasen [Sun, 20 Sep 2015 06:10:11 +0000 (02:10 -0400)]
container: Use qdata for focus chain

10 years agowidget: Add a few more inlined getters
Matthias Clasen [Sun, 20 Sep 2015 06:01:46 +0000 (02:01 -0400)]
widget: Add a few more inlined getters

10 years agosize group: Streamline disposal
Matthias Clasen [Sun, 20 Sep 2015 05:22:21 +0000 (01:22 -0400)]
size group: Streamline disposal

Remove widgets from their size groups in dispose, without connecting
to ::destroy. The signal handler is not necessary.

10 years agosize request: Avoid unnecessary reffing
Matthias Clasen [Sun, 20 Sep 2015 04:55:23 +0000 (00:55 -0400)]
size request: Avoid unnecessary reffing

There is no particular reason why we should have to ref the
widgets if they are in a size group - we are not reffing them
in the simple case either.

10 years agosize group: streamline iteration slightly
Matthias Clasen [Sun, 20 Sep 2015 04:50:27 +0000 (00:50 -0400)]
size group: streamline iteration slightly

Instead of handling the horizontal and vertical peers separately
(and often, duplicatively), collect all peers in one go. At the
same time, avoid creating and destroying hash tables more often
than necessary.

10 years agoinspector: Ellipsize the accessible name
Matthias Clasen [Sun, 20 Sep 2015 04:12:16 +0000 (00:12 -0400)]
inspector: Ellipsize the accessible name

It can be long, and we don't want the inspector to grow excessively.

10 years agotext view: Use qdata with preallocated quarks
Matthias Clasen [Sun, 20 Sep 2015 04:11:58 +0000 (00:11 -0400)]
text view: Use qdata with preallocated quarks

10 years agoentry: Use qdata with preallocated quarks
Matthias Clasen [Sun, 20 Sep 2015 04:04:30 +0000 (00:04 -0400)]
entry: Use qdata with preallocated quarks

10 years agolabel: Avoid recalculation in some cases
Matthias Clasen [Sun, 20 Sep 2015 03:58:11 +0000 (23:58 -0400)]
label: Avoid recalculation in some cases

Avoid recalculation the entire label layout when nothing changed.

10 years agoscale: Drop unneeded private exports
Matthias Clasen [Sat, 19 Sep 2015 15:33:38 +0000 (11:33 -0400)]
scale: Drop unneeded private exports

Nobody outside gtkscale.c is using these functions, so make
them static.

10 years agoassistant: Drop unneeded calls
Matthias Clasen [Sat, 19 Sep 2015 15:17:32 +0000 (11:17 -0400)]
assistant: Drop unneeded calls

GtkAssistant is just a regular composite widget nowadays,
no need to manually queue resizes.

10 years agostyle context: Trivial refactor
Matthias Clasen [Sat, 19 Sep 2015 05:15:39 +0000 (01:15 -0400)]
style context: Trivial refactor

Use g_set_object for setting the frame clock.

10 years agobuild/win32: Fix 'make -jN dist'
Chun-wei Fan [Wed, 23 Sep 2015 10:31:22 +0000 (18:31 +0800)]
build/win32: Fix 'make -jN dist'

The recent changes to build/win32/vs9|10/Makefile.am fixed 'make distclean'
but broke 'make -jN dist', so fix that by listing the *.headers and using
that list as a dependency and to remove those files in one single command
right after we generate the gtk-install.vsprops template, so that we don't
have to worry about them in 'make distclean'.

10 years agoFinnish translation update
Jiri Grönroos [Wed, 23 Sep 2015 07:17:26 +0000 (10:17 +0300)]
Finnish translation update

10 years agoapp chooser widget: protect against show_all
Matthias Clasen [Tue, 22 Sep 2015 20:07:13 +0000 (16:07 -0400)]
app chooser widget: protect against show_all

The visibility of the 'no apps' placeholder is managed by
the dialog, it should not be affected by gtk_widget_show_all.

https://bugzilla.gnome.org/show_bug.cgi?id=748080

10 years agoapp chooser: Avoid duplicates
Matthias Clasen [Tue, 22 Sep 2015 19:14:00 +0000 (15:14 -0400)]
app chooser: Avoid duplicates

At the time we populate the model "initially" in constructed(),
it has already been filled and cleared a couple of times (we do
that every time one of the construct properties gets set). So
we can't assume that the model is empty, and have to clear it
first. Otherwise, we add duplicates to the list.

https://bugzilla.gnome.org/show_bug.cgi?id=748080

10 years agobuild: only compile plug/socket when available
Christian Hergert [Fri, 4 Sep 2015 21:06:22 +0000 (14:06 -0700)]
build: only compile plug/socket when available

Plug and Socket require X11 windowing. Often times this is compiled
on systems with both wayland and x11, but not always. Quartz is an
example where it is usually not compiled.

10 years agoUpdated Serbian translation
Марко Костић [Tue, 22 Sep 2015 09:25:01 +0000 (09:25 +0000)]
Updated Serbian translation

10 years ago3.18.0
Matthias Clasen [Mon, 21 Sep 2015 21:32:36 +0000 (17:32 -0400)]
3.18.0

10 years agoFix distclean
Matthias Clasen [Tue, 22 Sep 2015 02:01:59 +0000 (22:01 -0400)]
Fix distclean

10 years agoplaces view: fix a crash in finalize
Matthias Clasen [Mon, 21 Sep 2015 23:41:34 +0000 (19:41 -0400)]
places view: fix a crash in finalize

Fix a GtkPlacesView crash in the test suite, _again_.

10 years agoflow box: Fix up docs
Matthias Clasen [Mon, 21 Sep 2015 22:50:31 +0000 (18:50 -0400)]
flow box: Fix up docs

10 years agoRemove GtkWidgetAuxInfo from the docs
Matthias Clasen [Mon, 21 Sep 2015 22:26:38 +0000 (18:26 -0400)]
Remove GtkWidgetAuxInfo from the docs

10 years agoUpdated Serbian Latin translation
Милош Поповић [Mon, 21 Sep 2015 21:13:45 +0000 (21:13 +0000)]
Updated Serbian Latin translation

10 years agoUpdated Serbian translation
Марко Костић [Mon, 21 Sep 2015 21:12:23 +0000 (21:12 +0000)]
Updated Serbian translation

10 years agoconfigure: Don't put glib version flags into pc files
Benjamin Otte [Mon, 21 Sep 2015 18:31:03 +0000 (20:31 +0200)]
configure: Don't put glib version flags into pc files

Use a different CFLAGS variable to carry them. I chose the DEBUG_FLAGS
because that's essentially what those flags are: debug helpers.

10 years agowidget-factory: Remove libcanberra support
Benjamin Otte [Mon, 21 Sep 2015 18:22:55 +0000 (20:22 +0200)]
widget-factory: Remove libcanberra support

GTK cannot depend on libcanberra-gtk which depends on GTK. This causes
a circular dependency and is especially neat if installed GTK is
different enough from uninstalled GTK.

10 years agoUpdate Czech translation
Petr Kovar [Mon, 21 Sep 2015 17:09:02 +0000 (19:09 +0200)]
Update Czech translation

10 years agogdkwindow: Fix list_insert_link_before
Alexander Larsson [Mon, 21 Sep 2015 14:58:41 +0000 (16:58 +0200)]
gdkwindow: Fix list_insert_link_before

We forgot to set prev->next to the new link

10 years agogdk: Finish conversion to in-struct GdkWindow list nodes
Alexander Larsson [Mon, 21 Sep 2015 13:33:53 +0000 (15:33 +0200)]
gdk: Finish conversion to in-struct GdkWindow list nodes

10 years agowidget: get_widget_windows() don't modify window child lists
Alexander Larsson [Mon, 21 Sep 2015 13:32:34 +0000 (15:32 +0200)]
widget: get_widget_windows() don't modify window child lists

We can't modify the lists returned from gdk_window_peek_children,
instead use get_children().

10 years agowidget: Make sure we only run controllers on realized widgets
Carlos Garnacho [Mon, 21 Sep 2015 13:09:32 +0000 (15:09 +0200)]
widget: Make sure we only run controllers on realized widgets

The default event bubbling paths are prone to just running event controllers
even after the widget was potentially unrealized/destroyed in an event
handler callback, so bail out early if that's the case.

https://bugzilla.gnome.org/show_bug.cgi?id=755352

10 years agogesture: strengthen against destroyed windows
Carlos Garnacho [Mon, 21 Sep 2015 13:00:28 +0000 (15:00 +0200)]
gesture: strengthen against destroyed windows

Bail out when we receive an event with an already destroyed window,
we'll hopefully get reset/cancelled afterwards on grab broken events.

https://bugzilla.gnome.org/show_bug.cgi?id=755352

10 years agowindow: cancel unclaimed sequences after GtkEventController::handle_event.
Carlos Garnacho [Mon, 21 Sep 2015 12:11:48 +0000 (14:11 +0200)]
window: cancel unclaimed sequences after GtkEventController::handle_event.

To GtkGesture machinery, if an event triggers a controller/gesture signal,
and gesture reset/cancellation as a result, the event has been managed
after all.

Commit e3bd895667 effectively changed the return value of the
wrapping gtk_event_controller_handle_event() function, which broke some
paths (eg. gtk_popover_button_press() wouldn't while the GTK+ grab was
active for this reason because the button press event was consumed early
on gtk_window_check_handle_wm_event()).

That patch is not too off-track given potential child widgets' behavior,
we want nonetheless to distinguish the denied vs cancelled paths here
(because GtkWindow itself relies on the GtkGesture behavior described in
the first paragraph on the begin_move/resize paths), so just reset
gestures after the event has already gone through the GtkEventController
so the return value is unaffected.

10 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Mon, 21 Sep 2015 12:09:49 +0000 (12:09 +0000)]
Updated Kazakh translation

10 years agoMSVC Builds: Update Project GUIDs
Chun-wei Fan [Mon, 21 Sep 2015 08:50:00 +0000 (16:50 +0800)]
MSVC Builds: Update Project GUIDs

This updates the Visual Studio Project GUIDs so that they don't repeat with
the GTK+-2.24.x ones, as the 3.x projects can be used with the 2.24.x in a
all-in-one solution file (such as when one wants to use a complete GTK+2
and GTK+3 stack when porting Windows applications from GTK+2 to GTK+3), and
each project in a solution file is expected to have an unique GUID.

10 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sun, 20 Sep 2015 20:18:13 +0000 (22:18 +0200)]
Updated Norwegian bokmål translation.

10 years agoUpdated Danish translation
Ask Hjorth Larsen [Sun, 20 Sep 2015 18:55:04 +0000 (18:55 +0000)]
Updated Danish translation

10 years agoUpdated Danish translation
Ask Hjorth Larsen [Sun, 20 Sep 2015 18:37:39 +0000 (20:37 +0200)]
Updated Danish translation

10 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sun, 20 Sep 2015 17:59:50 +0000 (20:59 +0300)]
Updated Latvian translation

10 years agoUpdated Swedish translation
Anders Jonsson [Sun, 20 Sep 2015 17:32:36 +0000 (17:32 +0000)]
Updated Swedish translation

10 years agotest-simplify: Explicitly use bash
Matthias Clasen [Sun, 20 Sep 2015 16:17:12 +0000 (12:17 -0400)]
test-simplify: Explicitly use bash

The script uses bash features, after all.

https://bugzilla.gnome.org/show_bug.cgi?id=755274

10 years agoUpdated Japanese translation
Jiro Matsuzawa [Sun, 20 Sep 2015 16:03:11 +0000 (01:03 +0900)]
Updated Japanese translation

10 years agoUpdated Danish translation
Ask Hjorth Larsen [Sun, 20 Sep 2015 14:47:36 +0000 (14:47 +0000)]
Updated Danish translation

10 years agoUpdated Swedish translation
Josef Andersson [Sun, 20 Sep 2015 10:09:25 +0000 (10:09 +0000)]
Updated Swedish translation

10 years agoUpdated Greek translation
Tom Tryfonidis [Sun, 20 Sep 2015 10:09:06 +0000 (10:09 +0000)]
Updated Greek translation

10 years agoUpdated Japanese translation
Hajime Taira [Sun, 20 Sep 2015 08:38:08 +0000 (17:38 +0900)]
Updated Japanese translation

10 years agoUpdated Brazilian Portuguese translation
Rafael Fontenelle [Sat, 19 Sep 2015 21:20:41 +0000 (21:20 +0000)]
Updated Brazilian Portuguese translation

10 years agoUpdated Brazilian Portuguese translation
Rafael Fontenelle [Sat, 19 Sep 2015 18:17:16 +0000 (18:17 +0000)]
Updated Brazilian Portuguese translation

10 years agogtkdemo: Plug leaks in listbox demo
Timm Bäder [Sat, 19 Sep 2015 17:27:24 +0000 (19:27 +0200)]
gtkdemo: Plug leaks in listbox demo

10 years agoUpdated Danish translation
Ask Hjorth Larsen [Sat, 19 Sep 2015 16:53:52 +0000 (16:53 +0000)]
Updated Danish translation

10 years agoUpdated Brazilian Portuguese translation
Rafael Fontenelle [Sat, 19 Sep 2015 12:26:08 +0000 (12:26 +0000)]
Updated Brazilian Portuguese translation

10 years agoUpdated Brazilian Portuguese translation
Felipe Braga [Sat, 19 Sep 2015 10:37:26 +0000 (10:37 +0000)]
Updated Brazilian Portuguese translation

10 years agoUpdated Russian translation
Stas Solovey [Fri, 18 Sep 2015 22:05:39 +0000 (22:05 +0000)]
Updated Russian translation

10 years agoUpdated Russian translation
Stas Solovey [Fri, 18 Sep 2015 21:12:42 +0000 (21:12 +0000)]
Updated Russian translation

10 years agoRevert "gtkwidget: Ensure unrealization during event dispatching cancels gestures"
Carlos Garnacho [Fri, 18 Sep 2015 10:59:00 +0000 (12:59 +0200)]
Revert "gtkwidget: Ensure unrealization during event dispatching cancels gestures"

This reverts commit 13873d2c507783042df55ad2c48f37a346121fd0.

10 years agoRevert "widget: Fix propagation of gesture cancellation on widget unrealize/destroy"
Carlos Garnacho [Fri, 18 Sep 2015 10:57:26 +0000 (12:57 +0200)]
Revert "widget: Fix propagation of gesture cancellation on widget unrealize/destroy"

This reverts commit 3aaf730901d04a3e4a102cb95e769a48ec5027e3.

10 years agoRevert "widget: Cancel also denied sequences"
Carlos Garnacho [Fri, 18 Sep 2015 10:57:04 +0000 (12:57 +0200)]
Revert "widget: Cancel also denied sequences"

This reverts commit 63e255e7b5326888e83bf84f1147012938c81000.

10 years agowindow: Reset on unhandled gestures right away
Carlos Garnacho [Thu, 17 Sep 2015 21:22:39 +0000 (23:22 +0200)]
window: Reset on unhandled gestures right away

Traditionally a sequence is set to GTK_EVENT_SEQUENCE_DENIED state when
it is to be ignored, which means it is dormant, but still managed by the
gesture (accounting, "denied" sequences still make "slots" in multitouch
gesture busy, etc...).

This gesture will run for all button presses and releases in the window
though when presses happen on the "window content" region, and we can't
account for every children to be as educated as setting the proper mask
on every window, or ensuring events will be propagated as they should.

In order to cater for this, just reset the gestures, we can live without
such accounting in these specific GtkGestureSingle gestures.

https://bugzilla.gnome.org/show_bug.cgi?id=754098

10 years agogdk: Mark window surfaces as dirty before reading from them
Benjamin Otte [Fri, 18 Sep 2015 00:04:10 +0000 (02:04 +0200)]
gdk: Mark window surfaces as dirty before reading from them

We do not know what happened to this surface outside of GDK.
Especially for foreign windows, they will have been modified
by external applications.

So be on the safe side and tell Cairo to clear all its caches.

https://bugzilla.gnome.org/show_bug.cgi?id=754952

10 years agoUpdated Turkish translation
Muhammet Kara [Thu, 17 Sep 2015 18:05:49 +0000 (18:05 +0000)]
Updated Turkish translation

10 years agoUpdated Lithuanian translation
Aurimas Černius [Thu, 17 Sep 2015 17:28:47 +0000 (20:28 +0300)]
Updated Lithuanian translation

10 years agoUpdated Hungarian translation
Balázs Úr [Thu, 17 Sep 2015 14:02:09 +0000 (14:02 +0000)]
Updated Hungarian translation

10 years agoMSVC Builds: Make Re-use Comment in Autotools Module Clearer
Chun-wei Fan [Thu, 17 Sep 2015 01:19:10 +0000 (09:19 +0800)]
MSVC Builds: Make Re-use Comment in Autotools Module Clearer

10 years agopixelcache: use factor instead of margin
Christian Hergert [Mon, 14 Sep 2015 04:08:57 +0000 (21:08 -0700)]
pixelcache: use factor instead of margin

Instead of using a fixed size, use a factor of the surface size. This
helps in situations where animations of surrounding widgets are used
and cause a rapid rate of surface destroy/create cycles.

10 years agoUpdated French translation
Claude Paroz [Wed, 16 Sep 2015 17:03:15 +0000 (19:03 +0200)]
Updated French translation

10 years agowayland: Avoid running stale cursor animation timeouts
Carlos Garnacho [Wed, 16 Sep 2015 10:21:36 +0000 (12:21 +0200)]
wayland: Avoid running stale cursor animation timeouts

gdk_wayland_device_update_window_cursor() is inconsistently returning
TRUE/FALSE, despite the timeout being always replaced for new cursor
frames. This could end up in these timeouts being "leaked" and running
as long as the window has an animated cursor.

Fix this by making it really sure we return G_SOURCE_REMOVE, although
now we keep track of animation delays, so the timeout will be reused
for constant time animations.

10 years agowidget: Cancel also denied sequences
Carlos Garnacho [Wed, 16 Sep 2015 10:08:46 +0000 (12:08 +0200)]
widget: Cancel also denied sequences

It makes no sense to skip denied sequences here, the gestures are
still carrying out the accounting for these, which must be also put
to an end if we're possibly not receiving any further events from
this sequence.

https://bugzilla.gnome.org/show_bug.cgi?id=754098

10 years agowidget: Fix propagation of gesture cancellation on widget unrealize/destroy
Carlos Garnacho [Wed, 16 Sep 2015 10:06:46 +0000 (12:06 +0200)]
widget: Fix propagation of gesture cancellation on widget unrealize/destroy

At the time event_check_cancel_sequence_on_hierarchy() is called, the widget
has been already unparented. Given the widget itself is being destroyed,
cancellation on it is impending in one way or another, we still must
propagate cancellation across all parents, so retrieve it early before
possible widget destruction.

https://bugzilla.gnome.org/show_bug.cgi?id=754098

10 years agoscrolledwindow: Set the scrollbar as "over" immediately during slider grabs
Carlos Garnacho [Tue, 15 Sep 2015 15:18:20 +0000 (17:18 +0200)]
scrolledwindow: Set the scrollbar as "over" immediately during slider grabs

Otherwise it's attempted through a timeout, which gets cancelled early after,
and the slider disappears after a while with no mouse activity despite the
ongoing implicit grab.

Once the grab is finished, check_update_scrollbar_proximity() will be called
again on both scrollbars, and the fade out animation will be triggered as a
result.

https://bugzilla.gnome.org/show_bug.cgi?id=754745

10 years agofile chooser: Avoid a crash
Matthias Clasen [Wed, 16 Sep 2015 14:39:19 +0000 (07:39 -0700)]
file chooser: Avoid a crash

When right-clicking in an empty folder, you should get a context
menu, not a crash. The code for positioning the popover was not
handling the eventuality of no row under the pointer. Just position
the popover right at the click location in this case.

https://bugzilla.gnome.org/show_bug.cgi?id=755021

10 years agowidget path: Don't leak sibling paths
Matthias Clasen [Tue, 15 Sep 2015 23:31:00 +0000 (19:31 -0400)]
widget path: Don't leak sibling paths

10 years agoPlug another memory leak
Matthias Clasen [Tue, 15 Sep 2015 14:54:29 +0000 (10:54 -0400)]
Plug another memory leak

10 years agoPlug a memory leak
Matthias Clasen [Tue, 15 Sep 2015 14:32:02 +0000 (10:32 -0400)]
Plug a memory leak

10 years agoUpdate Persian translation
Arash Mousavi [Tue, 15 Sep 2015 16:45:46 +0000 (21:15 +0430)]
Update Persian translation

10 years agoUpdate Persian translation
Arash Mousavi [Tue, 15 Sep 2015 16:39:21 +0000 (21:09 +0430)]
Update Persian translation

10 years agocss shadows: Cache blured masks for the corners of outset shadows
Alexander Larsson [Tue, 15 Sep 2015 14:02:10 +0000 (16:02 +0200)]
css shadows: Cache blured masks for the corners of outset shadows

A lot of time was spend rendering the shadows on windows with CSD, in
particular the corner pieces, since they are the largest parts. This
patch catches this particular case and caches the pre-rendered blur
masks.

This makes the shadow code go from 25% to 8% of the time when resizing
gtk3-demo.

10 years agocss shadows: Break out side & corner shadows into helper functions
Alexander Larsson [Tue, 15 Sep 2015 09:46:57 +0000 (11:46 +0200)]
css shadows: Break out side & corner shadows into helper functions

This changes nothing, but makes the code a bit easier to read

10 years agoui: Remove border from dialogs again
Timm Bäder [Tue, 15 Sep 2015 12:03:37 +0000 (14:03 +0200)]
ui: Remove border from dialogs again